<%@ include file="/WEB-INF/pages/common/taglibs.jsp"%>
<%@ include file="/WEB-INF/pages/common/checkpermission.jsp" %>
<html>
<head>
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Expires" content="0"/>
    <link href="<c:url value='/styles/cl.css'/>" rel="stylesheet" type="text/css"/>
    <link href="<c:url value='/styles/site1.css'/>" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="<c:url value='/scripts/cl.js'/>"></script>

<script type="text/javascript">
    function saveRecord() {
        window.opener.document.getElementById("erecordModel.deletePassword").value=document.getElementById("erecordModel.deletePassword").value;
        window.opener.submitDelete();
    }

    function cancelRecord() {
        window.close();
    }

</script>
</head>
<body>
<s:form name="deleteForm" action=""  method="post">
        <table border="0" align="center" cellpadding="0" cellspacing="0" class="body_content full_width bordered">
            <tr class="even">
                <td class="form_label_padded" width="16%" nowrap><s:text name="label.password.required"/></td>
                <td class="form_label_padded" width="2%">:</td>
                <td class="txtData" align="left">
                    <s:password id="erecordModel.deletePassword" name="erecordModel.deletePassword" maxLength="25"/>
                </td>
            </tr>
            <tr class="odd">
                <td class="txtData" colspan="3">
                     <input type="button" class="button" value="<s:text name='label.save'/>" onclick="saveRecord();">
                     <input type="button" class="button" value="<s:text name='label.back'/>" onclick="cancelRecord();">
                </td>
            </tr>
    </table>
</s:form>
</body>
</html>